package com.copc.common.constants;

/**
 * 人与人关系
 */
public enum RelationWithApplicantEnum {
    BR("本人", "01"),
    BROR("本人", "1"),
    PO("配偶", "10"),
    EN("儿女", "40"),
    FM("父母", "50"),
    QT("其它", "99");

    private final String code;

    private final String value;

    RelationWithApplicantEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    //获取编号
    public String code() {
        return code;
    }

    //获取信息
    public String value() {
        return value;
    }

    @Override
    public String toString() {
        return String.valueOf(this.code);
    }
}
